﻿<Window x:Class="xLibris.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:loc="clr-namespace:xLibris"
        xmlns:i="clr-namespace:Interfaces;assembly=Interfaces"        
        Title="MainWindow" Height="800" Width="1020">
    <Window.Resources>
       
            <Storyboard x:Key="OpenPreview">
                <DoubleAnimation To="1.0" Duration="0:0:0.3" Storyboard.TargetName="scale" Storyboard.TargetProperty="ScaleX"/>
                <DoubleAnimation To="1.0" Duration="0:0:0.3" Storyboard.TargetName="scale" Storyboard.TargetProperty="ScaleY"/>
            </Storyboard>
            <Storyboard x:Key="ClosePreview">
                <DoubleAnimation To="0.0" Duration="0:0:0.3" Storyboard.TargetName="scale" Storyboard.TargetProperty="ScaleX"/>
                <DoubleAnimation To="0.0" Duration="0:0:0.3" Storyboard.TargetName="scale" Storyboard.TargetProperty="ScaleY"/>
            </Storyboard>
       
    </Window.Resources>
    <Grid x:Name="root">
        <Grid.Background>
            <LinearGradientBrush>
                <GradientStop Offset="0" Color="#444444"/>
                <GradientStop Offset="1" Color="#111111"/>
            </LinearGradientBrush>
        </Grid.Background>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="240"/>
            <ColumnDefinition Width="*"/>
        </Grid.ColumnDefinitions>
        <Border Margin="4" Padding="8" Grid.Column="0">
            <ContentPresenter Content="{Binding MenuView}"/>
        </Border>
        <Border Padding="4" Name="AppView" Margin="4" Grid.Column="1" Background="#88aacc">
            <ContentPresenter Content="{Binding AppView}"/>
        </Border>
       
    </Grid>
</Window>
